// 页面路径：store/index.js 
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex); //vue的插件机制

import common from '@/store/modules/common.js';
//Vuex.Store 构造器选项
const store = new Vuex.Store({
	state: {
		// proid: 123,
	},
	//mutations是修改store数据入口
	mutations: {
		// proid(state, msg) {
		// 	state.proid = msg;
		// },
	},
	modules: {
		common,
	}
})
export default store
